package com.jsyl.lwbk.business.service;

import com.jsyl.lwbk.business.dto.*;

import java.util.List;

/**
 * @author Fitch
 * 2022/3/28
 */
public interface CourseChildScoreService {
    /**
     * 分页数据
     * @param childCourseId
     * @return
     */
    List<CourseChildScoreDTO> list(Long childCourseId);

    /**
     * 学员成绩详情列表
     * @param childId
     * @param teacherName
     * @return
     */
    List<ChildScoreDetailDTO> childScoreDetailList(Long childId, String teacherName, String startDate, String endDate);

    /**
     * 历史成绩
     * @param childId
     * @param projectCode
     * @return
     */
    List<HistoryScoreDTO> listHistoryScore(Long childId,String projectCode);

    /**
     * 保存成绩
     * @param saveScoreDTO
     */
    void saveScore(SaveScoreDTO saveScoreDTO);

    /**
     * 保存阅读理解成绩
     */
    void saveReadingComprehensionScore(SaveReadingScoreDTO dto);

    /**
     * 保存基础表现
     * @param dto
     */
    void saveBasicExpression(SaveBasicExpressionDTO dto);

    void saveChildBasicExpression(SaveBasicExpressionDTO dto);

    /**
     * 获取单条基础表现
     * @param childCourseId
     * @param childId
     * @return
     */
    BasicExpressionDTO getBasicExpression(Long childCourseId, Long childId);

    List<BasicExpressionDTO> listBasicExpression(Long childCourseId,Long childId);

    List<ChildScoreDTO> listAllChild(ChildScoreDTO dto);

    /**
     * 阅读理解成绩
     * @param childCourseId
     * @return
     */
    List<ReadingComprehensionScoreDTO> listChildScore(Long childCourseId);

}

